package com.carb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "会员注册传递的数据模型")
public class MemberRegisterDTO implements Serializable {

    @Schema(description = "用户名",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;

    @Schema(description = "姓名",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "移动电话",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String mobilePhone;

    @Schema(description = "身份证号码",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String idNumber;

    @Schema(description = "电子邮箱",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String email;

}
